package cn.xorange.commons.data.core.entity;


import cn.xorange.commons.data.annotation.MColumn;
import cn.xorange.commons.data.constants.QueryType;
import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

@Data
public class DataEntity extends BaseEntity {

    /**@MVersion*/
    @MColumn(queryType = QueryType.BETWEEN)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createBy;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @MColumn()
    private String updateBy;
    @MColumn()
    private String remark;


}
